package com.pro.pojo;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.*;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;



public class JsLog {
    private Integer dictCode;//主键id
    private String dictLabel;//商品编号
    private String dictName;//类型
    private String createBy;//创建人
    private String createName;//创建人名称
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date createTime;//创建时间
    private String remark;//备注
    private String productCode;//商品编号
    private String productName;//商品名称
    private String currentpriceProduct;//商品原价
    private String originalpriceProduct;//商品现价

    public JsLog() {
    }

    public JsLog(Integer dictCode, String dictLabel, String dictName, String createBy, String createName, Date createTime, String remark, String productCode, String productName, String currentpriceProduct, String originalpriceProduct) {
        this.dictCode = dictCode;
        this.dictLabel = dictLabel;
        this.dictName = dictName;
        this.createBy = createBy;
        this.createName = createName;
        this.createTime = createTime;
        this.remark = remark;
        this.productCode = productCode;
        this.productName = productName;
        this.currentpriceProduct = currentpriceProduct;
        this.originalpriceProduct = originalpriceProduct;
    }

    public Integer getDictCode() {
        return dictCode;
    }

    public void setDictCode(Integer dictCode) {
        this.dictCode = dictCode;
    }

    public String getDictLabel() {
        return dictLabel;
    }

    public void setDictLabel(String dictLabel) {
        this.dictLabel = dictLabel;
    }

    public String getDictName() {
        return dictName;
    }

    public void setDictName(String dictName) {
        this.dictName = dictName;
    }

    public String getCreateBy() {
        return createBy;
    }

    public void setCreateBy(String createBy) {
        this.createBy = createBy;
    }

    public String getCreateName() {
        return createName;
    }

    public void setCreateName(String createName) {
        this.createName = createName;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }

    public String getProductCode() {
        return productCode;
    }

    public void setProductCode(String productCode) {
        this.productCode = productCode;
    }

    public String getProductName() {
        return productName;
    }

    public void setProductName(String productName) {
        this.productName = productName;
    }

    public String getCurrentpriceProduct() {
        return currentpriceProduct;
    }

    public void setCurrentpriceProduct(String currentpriceProduct) {
        this.currentpriceProduct = currentpriceProduct;
    }

    public String getOriginalpriceProduct() {
        return originalpriceProduct;
    }

    public void setOriginalpriceProduct(String originalpriceProduct) {
        this.originalpriceProduct = originalpriceProduct;
    }

    @Override
    public String toString() {
        return "JsLog{" +
                "dictCode=" + dictCode +
                ", dictLabel='" + dictLabel + '\'' +
                ", dictName='" + dictName + '\'' +
                ", createBy='" + createBy + '\'' +
                ", createName='" + createName + '\'' +
                ", createTime=" + createTime +
                ", remark='" + remark + '\'' +
                ", productCode='" + productCode + '\'' +
                ", productName='" + productName + '\'' +
                ", currentpriceProduct='" + currentpriceProduct + '\'' +
                ", originalpriceProduct='" + originalpriceProduct + '\'' +
                '}';
    }
}
